package com.qfedu.openplateform.manager.service;

import com.qfedu.openplateform.manager.dao.CustomerMapper;
import com.qfedu.openplateform.manager.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerService {

    //查询所有客户
    List<Customer> SelectAllCustomer();
    //更新客户
    int updateCustomer(Customer customer);
    //删除客户
    int deleteCustomer(Integer ids);
    //添加客户
    int addCustomer(Customer customer);
    //模糊查询
    List<Customer> SelectCustomerByName(@Param("state") Integer state, @Param("name")String name);
}
